import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMessageStore = defineStore(
  'Termite-recognition-userMessage',
    () => {
      const messages=ref([])
    const resetMessage = () => {
      messages.value = []
    }


    return {
      messages,
      resetMessage
    }
  },
  { persist: true }
)
